package com.cabal.common.enums;

public enum LoginStateEnum {

    LOGIN_STATE_ONLINE(1, "在线"),
    LOGIN_STATE_OFFLINE(2, "离线");

    private Integer code;

    private String name;

    LoginStateEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {return name;}
}
